package day02;

import com.sun.javafx.css.CssError;

public class Practice {
    public static void main(String[] args) {
        /*
        int a ;//申明一个变量
        int b,c;//一次申明多个变量

        int d = 1;//申明一个变量并初始化
        int e ;
        e = 2;//申明一个变量，然后初始化

        int g = 1;
        int h = g+10;
        System.out.println(h);
        g = g+10;
        System.out.println(g);

        int Ae,a_2,$A2,A2$_;
        //int 5a;
        //int a#;
        //int class;

         */
        /*int a=6,b=7;
        System.out.println(a/b);
        int c=1500000000,d=1800000000;
        int e=c+d;
        System.out.println(e);

         */
        /*long a =100000000000L;
        long b =1000000000L*100;
        System.out.println(b);

         */
        /*double a=2.55,b=2.77;
        System.out.println(a-b);
        boolean c =true,d=false;
        char e ='@',f='男',g=65,h='\'',i='\\';
        System.out.println(c);
        System.out.println(d);
        System.out.println(e);
        System.out.println(f);
        System.out.println(g);
        System.out.println(h);
        System.out.println(i);

         */
        int a1=2;
        long a2=a1;
        int a3=(int)a2;
        System.out.println(a3);
        long b1=10000000000L;
        int b2=(int)b1;
        System.out.println(b2);
        double c1=5.4578;
        int c2=(int)c1;
        System.out.println(c2);
        byte d1=6,d2=7;
        byte d3=(byte)(d1+d2);
        System.out.println(d3);

    }
}